package top.kiterunner.learning.designpatterns_test.facade_pattern;

/**
 * AdorynZhao in Tencent-UESTC.
 * Source Code Created on 2017/7/31.
 */
public class ModernPostOffice {

    private LetterProcess letterProcess = new LetterProcessImpl();

    public void sendLetter(String content, String address) {
        letterProcess.writeContent(content);
        letterProcess.fillEnvelope(address);
        letterProcess.letterIntoEnvelope();
        letterProcess.postLetter();
    }
}
